/*
 * BusinessDialogListItem.java
 * business
 *
 * Created by ChenTao on 2017/2/21.
 *
 * Copyright (c) 2017年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.ui.widget.listview.displaylistitem;

import android.content.Context;

import com.yidiandao.business.ui.widget.listview.DisplayListItem;
import com.yidiandao.business.ui.widget.listview.viewholder.BusinessDialogHolder;

/**
 * BusinessDialogListItem
 *
 * <p>Created by ChenTao(chentao7v@gmail.com) on 2017/2/21 18:16
 */
public class BusinessDialogListItem extends DisplayListItem<BusinessDialogHolder, String> {

    public BusinessDialogListItem(String s) {
        super(s);
    }

    @Override
    public void onShow(Context context, BusinessDialogHolder holder) {
        holder.refreshUI(data);
    }

    @Override
    public String getDisplayItemTag() {
        return BusinessDialogListItem.class.getSimpleName();
    }

    @Override
    public Class<BusinessDialogHolder> getViewHolderClazz() {
        return BusinessDialogHolder.class;
    }
}
